/*
 * (C) 2014-2015 Alibaba Group Holding Limited
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 *
 *     __  ___   ______        ___       __          ___
 *    |  |/  /  /  __  \      /   \     |  |        /   \
 *    |  '  /  |  |  |  |    /  ^  \    |  |       /  ^  \
 *    |    <   |  |  |  |   /  /_\  \   |  |      /  /_\  \
 *    |  .  \  |  `--'  |  /  _____  \  |  `----./  _____  \
 *    |__|\__\  \______/  /__/     \__\ |_______/__/     \__\
 *
 *
 *
 */
//
// Created by KOALA TEAM on 12/19/14.
//

#import <UIKit/UIKit.h>
#import "ReactiveCocoa.h"
#import "KLModel.h"

@protocol KLIAppViewModel;

@class KLUpdateModel;


@interface KLAppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property(nonatomic,strong)id<KLIAppViewModel> appViewModel;


//should override ths methods
- (id<KLIAppViewModel>)createAppViewModel;

- (void)showNewUpdate:(KLUpdateModel*)model;

- (void)recvedRemoteNotification:(KLModel*)model;
- (void)pareseRemoteNotificationFailed:(NSError*)error;

- (void)showLogin;




@end

